package bean;

import java.util.Date;
import java.util.List;

/**
 * JSONObject不支持个性化转化，只能把birthday的Date类型定义为String，
 * 使用Gson可以个性化转化
 */


public class SampleBeanWithBirthday {
    private String name;
    private double age;
    private String school;
    private boolean has_car;
    private  Object house;
//    private  String[] major;
    private List<String> major;
    private Date birthday;

    public List<String> getMajor() {
        return major;
    }

    public void setMajor(List<String> major) {
        this.major = major;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }


    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public double getAge() {
        return age;
    }

    public void setAge(double age) {
        this.age = age;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public boolean isHas_car() {
        return has_car;
    }

    public void setHas_car(boolean has_car) {
        this.has_car = has_car;
    }

    public Object getHouse() {
        return house;
    }

    public void setHouse(Object house) {
        this.house = house;
    }


}
